package com.jyy.prefabricated.controller;

import com.jyy.prefabricated.entity.StudentSignUpApplyPhoto;
import com.jyy.prefabricated.service.StudentSignUpApplyPhotoService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 学生报名照片关联表(StudentSignUpApplyPhoto)表控制层
 *
 * @author makejava
 * @since 2021-06-29 16:40:13
 */
@RestController
@RequestMapping("studentSignUpApplyPhoto")
public class StudentSignUpApplyPhotoController {
    /**
     * 服务对象
     */
    @Resource
    private StudentSignUpApplyPhotoService studentSignUpApplyPhotoService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public StudentSignUpApplyPhoto selectOne(Integer id) {
        return this.studentSignUpApplyPhotoService.queryById(id);
    }

}
